#pragma once
#include <iostream>

class Parser
{
public:
	Parser(void);
	~Parser(void);

	double expr();
	static char lookahead;
private:
	double term();
	double rest();
	void match(char);
	double number();
};
